import PageTools from './PageTools'
import UploadExcel from './UploadExcel'
import UploadImg from './upLoadImg'
import ScreenFull from './ScreenFull'
import Lang from './Lang'
/**
 * 注册全局组件
 */

const components = [
  PageTools,
  UploadExcel,
  UploadImg,
  ScreenFull,
  Lang
]

export default {
  install (Vue) {
    // Vue.component('PageTools', PageTools)
    components.forEach(component => {
      Vue.component(component.name, component)
    })
  }
}
